package com.xoms.front.controller.res.bean;


/**
 * 资源信息
 **/
public class RResourceBean {
	private Integer id; // 资源主键id
	private Integer pid; // 资源父级id
	private String name; // 资源名称
	private String url; // 资源路径
	private Integer type; // 资源类型 1:菜单 2:按钮
	private Integer level; // 菜单级别：1：一级菜单  2:二级菜单
	private Integer isEnable; // 是否启用：1启用，非1不启用
	private String resDesc; // 资源描述
	private Long createTime; // 创建时间,时间戳,精确到秒
	private Long updateTime; // 更新时间,时间戳,精确到秒

	public void setId(Integer id) {
 		this.id = id;
	}

	public Integer getId() {
 		return id;
	}

	public void setPid(Integer pid) {
 		this.pid = pid;
	}

	public Integer getPid() {
 		return pid;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setUrl(String url) {
 		this.url = url;
	}

	public String getUrl() {
 		return url;
	}

	public void setType(Integer type) {
 		this.type = type;
	}

	public Integer getType() {
 		return type;
	}

	public void setLevel(Integer level) {
 		this.level = level;
	}

	public Integer getLevel() {
 		return level;
	}

	public void setIsEnable(Integer isEnable) {
 		this.isEnable = isEnable;
	}

	public Integer getIsEnable() {
 		return isEnable;
	}

	public void setResDesc(String resDesc) {
 		this.resDesc = resDesc;
	}

	public String getResDesc() {
 		return resDesc;
	}

	public void setCreateTime(Long createTime) {
 		this.createTime = createTime;
	}

	public Long getCreateTime() {
 		return createTime;
	}

	public void setUpdateTime(Long updateTime) {
 		this.updateTime = updateTime;
	}

	public Long getUpdateTime() {
 		return updateTime;
	}

}
